import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import fire_component_msg from '@feidao/web/atom/browser/fsm/fire-component-msg';

export default async function a004(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	// 删除
	if (!fd.data.curr_dept) {
		fire_component_msg('zj-common-002', 'ec-001', 'fail', '请先选中一条数据');
		return;
	}
	fire_component_msg('zj-common-001', 'ec-001', { component_no: 'zj-personnel-file-001', event_no: 'ec008' });
}
